package modele.database;

import java.sql.SQLException;
import java.util.ArrayList;

public interface IDatabase {
	void Connect() throws SQLException, ClassNotFoundException;
	
	ArrayList<ArrayList<Object>> Select(String request, Object... param) throws SQLException;
	
	boolean Insert(String request, Object... param) throws SQLException;
	boolean Update(String request, Object... param) throws SQLException;
	boolean Delete(String request, Object... param) throws SQLException;
	
	void Close() throws SQLException;
}
